package com.example.homeworkrabbitmq.service;

import com.example.homeworkrabbitmq.entity.Course;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface CourseService {
    void saveList(List<Course> list);

    List<Course> list();

    Course findById(Integer courseId);
}
